<template>
  <div>
    <div>
      <el-carousel indicator-position="outside" height="31vw">
        <el-carousel-item v-for="(item, index) in swiper" :key="index">
          <img :src="item.swiperPic" alt="" />
        </el-carousel-item>
      </el-carousel>
    </div>
  </div>
</template>

<script>
export default {
  name: "HoneySwiper",

  data() {
    return {
      swiper: [
        {
          swiperPic: require("../../assets/swiperPic01.jpg"),
        },
        {
          swiperPic: require("../../assets/swiperPic02.jpg"),
        },
        {
          swiperPic: require("../../assets/swiperPic03.jpg"),
        },
      ],
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.el-carousel__item h3 {
  font-size: 18px;
  opacity: 0.75;
  margin: 0;
}

.el-carousel__item {
  background-color: #f4f4f4;
  > img {
    width: 100%;
    height: auto;
  }
}
</style>